package com.beibei.file.bean;

/**
 * 用户登录访问文件类
 * 
 * @author 309814490@qq.com
 * @since 2014-02-12
 */
public class ServiceFile extends BaseFile {
	private static final long serialVersionUID = 1228300357405583105L;
	private String classMethod;
	private String methodParams;

	public String getClassMethod() {
		return classMethod;
	}

	public void setClassMethod(String classMethod) {
		this.classMethod = classMethod;
	}

	public String getMethodParams() {
		return methodParams;
	}

	public void setMethodParams(String methodParams) {
		this.methodParams = methodParams;
	}

	public String getValue() {
		StringBuilder builder = new StringBuilder();

		builder.append(this.getRandId());
		builder.append(";").append(this.getServerIp());
		builder.append(";").append(this.getClientIp());
		builder.append(";").append(this.getClassName());
		builder.append(";").append(this.classMethod);
		builder.append(";").append(this.methodParams);

		builder.append(";").append(this.getStartTime());
		builder.append(";").append(this.getEndTime());
		builder.append(";").append(this.getCount());

		return builder.toString();
	}

}
